package gof.observe;

import java.util.Observable;

/**
 * TODO
 * 2020-11-04 10:18
 */
public class WeatherDataNew extends Observable {
    Integer Temprature;
    Integer Humidity;
    Integer Pressure;

    public void measurementsChanged(){
        setChanged();
        notifyObservers();
    }

    public void setMeasurements(Integer Temprature, Integer Humidity, Integer Pressure){
        this.Temprature = Temprature;
        this.Humidity = Humidity;
        this.Pressure = Pressure;
        measurementsChanged();
    }
}
